package com.ag.zrt.dao;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.ag.bean.TbLogPlanStep;

public class TbLogPlanStepDAO extends com.ag.dao.TbLogPlanStepDAO {
	
	private static final Log log = LogFactory.getLog(TbLogPlanStepDAO.class);
	
	public TbLogPlanStep find(String hql) {
		log.debug("getting TbLogPlanStep instance with hql: " + hql);
		try {
			TbLogPlanStep instance = (TbLogPlanStep) getHibernateTemplate()
					.find(hql).get(0);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

}
